package com.crp.unitalinforbaseplat.app.unitalinforbaseplat.entity;

import com.crp.unitalinforbaseplat.app.core.utils.StringUtil;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;

/**
 * @program: squarenavigationsys
 * @description:
 * @author: chenzhicai
 * @create: 2018-11-10-15-21
 **/
public class BaseEntity implements Serializable {
    private static final long serialVersionUID = -1551242504905911747L;
    private String companyId;
    private String delFlag;
    private String createUserId;
    private Date createDate;
    private String updateUserId;
    private Date updateDate;
    private Integer versionNo;
    private int start = -1;
    private int pageStart = -1;
    private int length = 10;
    private int draw;
    private int firstResults;
    private int maxResults;
    private Long minId;
    private String likeSearch;
    private String orders;
    private String webUrl;
    private String userName;
    private Integer rowIndex;
    private String token;
    private String deviceId;
    private String cId;
    private HashMap<String, String> attachmentId;
    private HashMap<String, String> attachmentName;
    private HashMap<String, String> attachmentKey;
    private HashMap<String, String> attachmentPage;
    private HashMap<String, String> attachmentLocation;
    private HashMap<String, String> attachmentTypeValue;
    private HashMap<String, String> attachmentTypeName;
    private String companyPrivi;
    private boolean needAutoAddIU = true;
    private String isDraft;

    public BaseEntity() {
    }

    public HashMap<String, String> getAttachmentId() {
        return this.attachmentId;
    }

    public void setAttachmentId(HashMap<String, String> attachmentId) {
        this.attachmentId = attachmentId;
    }

    public HashMap<String, String> getAttachmentName() {
        return this.attachmentName;
    }

    public void setAttachmentName(HashMap<String, String> attachmentName) {
        this.attachmentName = attachmentName;
    }

    public HashMap<String, String> getAttachmentKey() {
        return this.attachmentKey;
    }

    public void setAttachmentKey(HashMap<String, String> attachmentKey) {
        this.attachmentKey = attachmentKey;
    }

    public HashMap<String, String> getAttachmentPage() {
        return this.attachmentPage;
    }

    public void setAttachmentPage(HashMap<String, String> attachmentPage) {
        this.attachmentPage = attachmentPage;
    }

    public String getcId() {
        return this.cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public Integer getRowIndex() {
        return this.rowIndex;
    }

    public void setRowIndex(Integer rowIndex) {
        this.rowIndex = rowIndex;
    }

    public String getOrders() {
        return this.orders;
    }

    public void setOrders(String orders) {
        this.orders = StringUtil.upperToLower(orders);
    }

    public int getStart() {
        return this.start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getLength() {
        return this.length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public int getDraw() {
        return this.draw;
    }

    public void setDraw(int draw) {
        this.draw = draw;
    }

    public String getLikeSearch() {
        return this.likeSearch;
    }

    public void setLikeSearch(String likeSearch) {
        this.likeSearch = likeSearch;
    }

    public int getFirstResults() {
        return this.firstResults;
    }

    public void setFirstResults(int firstResults) {
        this.firstResults = firstResults;
    }

    public int getMaxResults() {
        return this.maxResults;
    }

    public void setMaxResults(int maxResults) {
        this.maxResults = maxResults;
    }

    public String getCompanyId() {
        return this.companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId == null ? null : companyId.trim();
    }

    public String getDelFlag() {
        return this.delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }

    public String getCreateUserId() {
        return this.createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getCreateDate() {
        return this.createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUserId() {
        return this.updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId == null ? null : updateUserId.trim();
    }

    public Date getUpdateDate() {
        return this.updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getWebUrl() {
        return this.webUrl;
    }

    public void setWebUrl(String webUrl) {
        this.webUrl = webUrl;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getToken() {
        return this.token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getDeviceId() {
        return this.deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public int getPageStart() {
        return this.pageStart;
    }

    public void setPageStart(int pageStart) {
        this.pageStart = pageStart;
    }

    public Long getMinId() {
        return this.minId;
    }

    public void setMinId(Long minId) {
        this.minId = minId;
    }

    public Integer getVersionNo() {
        return this.versionNo;
    }

    public void setVersionNo(Integer versionNo) {
        this.versionNo = versionNo;
    }

    public HashMap<String, String> getAttachmentLocation() {
        return this.attachmentLocation;
    }

    public void setAttachmentLocation(HashMap<String, String> attachmentLocation) {
        this.attachmentLocation = attachmentLocation;
    }

    public String getIsDraft() {
        return this.isDraft;
    }

    public void setIsDraft(String isDraft) {
        this.isDraft = isDraft;
    }

    public String getCompanyPrivi() {
        return this.companyPrivi;
    }

    public void setCompanyPrivi(String companyPrivi) {
        this.companyPrivi = companyPrivi;
    }

    public HashMap<String, String> getAttachmentTypeValue() {
        return this.attachmentTypeValue;
    }

    public void setAttachmentTypeValue(HashMap<String, String> attachmentTypeValue) {
        this.attachmentTypeValue = attachmentTypeValue;
    }

    public HashMap<String, String> getAttachmentTypeName() {
        return this.attachmentTypeName;
    }

    public void setAttachmentTypeName(HashMap<String, String> attachmentTypeName) {
        this.attachmentTypeName = attachmentTypeName;
    }

    public boolean isNeedAutoAddIU() {
        return this.needAutoAddIU;
    }

    public void setNeedAutoAddIU(boolean needAutoAddIU) {
        this.needAutoAddIU = needAutoAddIU;
    }
}

    